
  <h1>Détail de machine</h1>
  <br/>
<table>
    <tr>
      <td><b>Id machine:</b></td>
      <td> <%=h @machine.id %></td>
    </tr>

    <tr>
      <td><b>Nom de machine:</b></td>
      <td><%=h @machine.nommachine %></td>
    </tr>
    <tr>
      <td> <b>Adresse IP:</b></td>
      <td><%=h @machine.ipmachine %></td>
    </tr>

    <tr>
      <td><b>Adresse mac:</b></td>
      <td><%=h @machine.addmac %></td>
    </tr>

    <tr>
      <td><b>Système d'exploitation:</b></td>
      <td><%=h @machine.os %></td>
    </tr>
    <tr>
      <td><b>Memoire totale:</b></td>
      <td><%=h @machine.memoiretotale %></td>
    </tr>

    <tr>
      <td><b>Espace disquet:</b></td>
      <td><%=h @machine.espacedisquet %></td>
    </tr>
    <tr>
      <td><b>Salle:</b></td>
      <td><%=h @machine.salleid %></td>
    </tr>
</table>
<%= link_to 'Liste', machines_path %>
<% if authenticated? %> 
	<td><%= link_to image_tag("edit.png", :alt => "Editer"), edit_machine_path(@machine) %>
<% end %>
 <br/>
